using System;
using UnityEngine;

[Serializable]
public class CompressedProbeDataGPU : ScriptableObject
{
    //public Vector3[] positions;
    public Texture3D positions;
    
    public float[] mean;                  // 27

    //public Float2DArray pcaAxes;        // components x 27
    public Texture2D pcaAces;
    
    //public Half2DArray coefficients;    // probeCount x components
    public Texture2D lut0;
    public Texture2D lut1;
    public Texture2D lut2;
    
    // public bool IsValid()
    // {
    //     return positions != null && positions.Length > 0 &&
    //            mean != null && mean.Length > 0 &&
    //            pcaAxes != null /*&& pcaAxes.Length > 0*/ &&
    //            coefficients != null;// && coefficients.Length > 0;
    // }
    
    // public Vector3[] positions;
    // public float[] mean;                // 27
    // public Float2DArray pcaAxes;        // components x 27
    // public Float2DArray coefficients;    // probeCount x components
}
